package sel.me.spring;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import sel.me.spring.beans.TestBeanA;
import sel.me.spring.beans.configure.TestConfig;


public class EnvironmentAwareTest{
	

	public static void main(String[] args) {
		ClassPathXmlApplicationContext classPathXmlApplicationContext = new ClassPathXmlApplicationContext("classpath*:spring/spring-*.xml");
//		TestBeanA testBeanA = (TestBeanA)classPathXmlApplicationContext.getBean("testBeanA");
		TestConfig testConfig = (TestConfig)classPathXmlApplicationContext.getBean("testConfig");
		try {
//			testBeanA.testEnvironment();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
